Skip to content

Commit 0b6b8d6

Browse files
committed
fix typo
1 parent b30b94c commit 0b6b8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/sendPost.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { EmailJSResponseStatus } from '../models/EmailJSResponseStatus';
55

66
export const sendPost = (data: string): Promise<EmailJSResponseStatus> => {
77
const options: RequestOptions = {
8-
host: store._host,
8+
host: store.origin,
99
path: '/api/v1.0/email/send',
1010
port: 443,
1111
method: 'POST',

0 commit comments

Comments
 (0)