Add missing return type

be145c0bfff00eb8fd3e2836506265dbc1458863

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/openai.js+1 -1
@@ -2485,7 +2485,7 @@ class Message {
2485 * Get the token cost of an image.2485 * Get the token cost of an image.
2486 * @param {string} dataUrl Data URL of the image.2486 * @param {string} dataUrl Data URL of the image.
2487 * @param {string} quality String representing the quality of the image. Can be 'low', 'auto', or 'high'.2487 * @param {string} quality String representing the quality of the image. Can be 'low', 'auto', or 'high'.
2488 * @returns2488 * @returns {Promise<number>} The token cost of the image.
2489 */2489 */
2490 async getImageTokenCost(dataUrl, quality) {2490 async getImageTokenCost(dataUrl, quality) {
2491 if (quality === 'low') {2491 if (quality === 'low') {