make dev setup better (#116)
* make dev setup better * chage docs * remove the need of github login
This commit is contained in:
@@ -8,6 +8,7 @@ import { env } from "~/env";
|
||||
|
||||
function getSnsClient(region: string) {
|
||||
return new SNSClient({
|
||||
endpoint: env.AWS_SNS_ENDPOINT,
|
||||
region: region,
|
||||
credentials: {
|
||||
accessKeyId: env.AWS_ACCESS_KEY,
|
||||
@@ -44,6 +45,5 @@ export async function subscribeEndpoint(
|
||||
const client = getSnsClient(region);
|
||||
|
||||
const data = await client.send(subscribeCommand);
|
||||
console.log(data.SubscriptionArn);
|
||||
return data.SubscriptionArn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user