need some help with FF cloud function

I have this sample cloud function test and deployed it.

const functions = require('firebase-functions');

const admin = require('firebase-admin');

exports.test = functions.region('australia-southeast1').https.onCall(async (data, context) => {

return 'test';

});

When I call it, it give me internal error and there is no logs in firebase function console. Anyone know how to fix it?

3
5 replies