feat: shit shit
This commit is contained in:
		@@ -10,7 +10,7 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const getMarketplaceByID = `-- name: GetMarketplaceByID :one
 | 
			
		||||
SELECT id, base_marketplace, name, auth_data, warehouse_id, auth_data_json FROM marketplaces
 | 
			
		||||
SELECT id, base_marketplace, name, auth_data, warehouse_id, auth_data_json, campaign_id FROM marketplaces
 | 
			
		||||
WHERE id = $1 LIMIT 1
 | 
			
		||||
`
 | 
			
		||||
 | 
			
		||||
@@ -24,6 +24,7 @@ func (q *Queries) GetMarketplaceByID(ctx context.Context, id int32) (Marketplace
 | 
			
		||||
		&i.AuthData,
 | 
			
		||||
		&i.WarehouseID,
 | 
			
		||||
		&i.AuthDataJson,
 | 
			
		||||
		&i.CampaignID,
 | 
			
		||||
	)
 | 
			
		||||
	return i, err
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user