chore: handled the null case (#1096)

This commit is contained in:
palash-signoz 2022-05-05 16:16:13 +05:30 committed by GitHub
parent ebf9316714
commit 4067aa5025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ const getAll = async (
return {
statusCode: 200,
error: null,
message: response.data.message,
message: 'Success',
payload: response.data,
};
} catch (error) {