Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Notification to a URL on proposal created #877

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

ashutoshpw
Copy link
Collaborator

Resolved #876

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for tezos-homebase ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/tezos-homebase/deploys/676000c2e1536c052feb1831
😎 Deploy Preview https://deploy-preview-877--tezos-homebase.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@EightRice EightRice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice!

@EightRice EightRice merged commit 489c5a3 into master Dec 16, 2024
6 checks passed
@EightRice EightRice deleted the feat/proposal-notification-hook branch December 16, 2024 21:14
Copy link
Contributor

@EightRice EightRice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the request fails:
image
Code to test that the API is working:

import requests
import json
function_url = "https://homebase-proposal-ni4o6amdya-uc.a.run.app"
import requests
payload = {
    "network": "mainnet",
    "proposer": "tz1XXXXXXX",
    "dao_name": "My DAO",
    "dao_address": "KT1XXXXXXX"
}
headers = {
    "Content-Type": "application/json"
}
response = requests.post(function_url, json=payload, headers=headers)
print("Status Code:", response.status_code)

@EightRice EightRice restored the feat/proposal-notification-hook branch December 16, 2024 23:34
EightRice added a commit that referenced this pull request Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new proposal notification hook
3 participants