Skip to content

Commit

Permalink
fixes auth error
Browse files Browse the repository at this point in the history
  • Loading branch information
MCterra10 committed Apr 20, 2021
1 parent 16c373c commit e9334b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Note: specific errors can't be given because the goon server doesn't handle them.
// For this endpoint, all it cares about are status codes.
if(!check_auth(false, false, true)) {
if(!check_auth(false, 'api_key', true)) {
http_response_code(401);
return;
}
Expand Down

0 comments on commit e9334b7

Please sign in to comment.